package Exercise1109;

public class Q38_Magazine {
   // title, allpage, writer, pubdate
	
	// 멤버 변수
	private String title;
	private String allpage;
	private String writer;
	private String pubdate;
	
	// 생성자
	
	public Q38_Magazine(){}
	public Q38_Magazine(String title, String allpage, String writer, String pubdate){
		this.title = title;
		this.allpage = allpage;
		this.writer = writer;
		this.pubdate = pubdate;
	}
	
	//getter / setter method

	public void setTitle(String title){this.title = title;}
	public void setAllpage(String allpage){this.allpage = allpage;}
	public void setWriter(String writer){this.writer = writer;}
	public void setPubdate(String pubdate){this.pubdate = pubdate;}

	public String setTitle(){return title;}
	public String setAllpage(){return allpage;}
	public String setWriter(){return writer;}
	public String setPubdate(){return pubdate;}

}
